<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>

<link rel="icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon">
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>首页 - 梦幻蛋糕坊</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css">
    <style>
        .top-left {
            position: fixed;
            left: 10px;
            top: 10px;
            z-index: 999;
            background: rgba(255,255,255,0.9);
            padding: 6px 10px;
            border-radius: 6px;
            border: 1px solid #eee;
        }
    </style>
</head>
<body>
<div class="top-left">
    在线人数: <strong>${applicationScope.onlineCount != null ? applicationScope.onlineCount : 0}</strong>
</div>

<div class="home-container">
    <div class="home-header">
        <h1>欢迎来到 梦幻蛋糕坊</h1>
    </div>
    <div class="home-content">
        <p><a href="login.jsp">登录</a> | <a href="register.jsp">注册</a> | <a href="showcart.jsp">购物车</a></p>
    </div>
</div>
</body>
</html>
